package marketplace.jpa.interfaces;

import java.util.ArrayList;
import java.util.List;

import javax.ejb.Remote;

import marketplace.jpa.datas.DataContenidoDigital;
import marketplace.jpa.datas.DataReclamo;
import marketplace.jpa.datas.DataValoracion;
import marketplace.jpa.datas.DataVenta;

@Remote
public interface IVentaDAO {

	public boolean ingresarValoracion(DataValoracion dv) throws Exception;
	public void modificarValoracion(DataValoracion dv) throws Exception;
	public void eliminarValoracion(int idv) throws Exception;
	public abstract boolean altaReclamo(DataReclamo dr) throws Exception;
	public abstract List<DataReclamo> getReclamosVenta(int idVenta) throws Exception;
	public abstract List<DataReclamo> getReclamos() throws Exception;
	public abstract void modificarReclamo(DataReclamo dr) throws Exception;
	public abstract void eliminarReclamo(int idr) throws Exception;
	public abstract DataReclamo buscarReclamo(int idr) throws Exception;
	public abstract DataVenta buscarVenta(int idv) throws Exception;
	public abstract  List<DataVenta> getVentasCliente(String mail) throws Exception;
	public abstract boolean ingresarVenta(DataVenta dv) throws Exception;
	public abstract ArrayList<DataVenta> obtenerVentas() throws Exception;
	public abstract ArrayList<DataVenta> obtenerVentasFULL(int idVersion);
	public abstract  String getDescargasContenidoX() throws Exception;
	public abstract  String getDescargasContenidoY(int idCont) throws Exception;
	public abstract List<DataContenidoDigital> getTopPagas() throws Exception;

	
}
